| Conditions | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | // Class imports |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Add the event handlers to textInput and textForm |
||
| 31 | * @return void |
||
| 32 | */ |
||
| 33 | private addEventHandlers() { |
||
| 34 | const sendForm = new classProcessInputForm(); |
||
| 35 | const checkValidText = new classValidText(); |
||
| 36 | |||
| 37 | this.#textInput!.addEventListener('input', checkValidText.checkValidText); |
||
| 38 | this.#textForm!.addEventListener('submit', sendForm.sendForm); |
||
| 39 | } |
||
| 43 |